INSERT INTO  UE_APP_SWITCH_SOG 
SELECT DISTINCT SOG.SOG_ID, SOG.SOG_RAGSOC, SOG.SOG_CODFIS, SOG.SOG_PARIVA FROM V_SOGGETTO SOG,UE_APP_SWITCH_CON CON
WHERE SOG.SOG_ID=CON.SOG_ID